function x=unifrnd(a,b)

u=rand(1);

x=a+(b-a)*u;
